/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain;


import java.io.Serial;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.comac.ins.common.tenant.core.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 元数据管理-业务、要素库关联关系对象 isfd_metadata_business_ref_database
 *
 * @author Lion Li
 * @date 2024-09-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("isfd_metadata_business_ref_database")
public class IsfdMetadataBusinessRefDatabase extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 业务场景定义id，父id
     */
    private Long businessId;

    /**
     * 子业务场景定义id
     */
    private Long childBusinessId;

    /**
     * 要素库id
     */
    private Long databaseId;

    /**
     * 业务场景名称
     */
    private String businessName;

    /**
     * 是否删除，默认是0-未删除，1-已删除
     */
    private Long isDeleted;

    private Long createBy;

    private Date createTime;


}
